package com.ruoyi.dj.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class GlobalDensitySimulateParam {
    @ApiModelProperty(value = "id", name = "id",hidden = true)
    private Long id;
    @ApiModelProperty(value = "高度", name = "altitude")
    private Double altitude;
    @ApiModelProperty(value = "水平分辨率", name = "resolution")
    private String resolution;
    @ApiModelProperty(value = "要素", name = "element")
    private String element;
    @ApiModelProperty(value = "大气模型", name = "model")
    private String model;
    @ApiModelProperty(value = "文件路径", name = "path")
    private String path;
    @ApiModelProperty(value = "通讯id", name = "sseId")
    private String sseId;
//    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "模拟时间 yyyy-MM-dd HH:mm:ss", name = "time")
    private String time;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "入库时间", name = "createTime",hidden = true)
    private Date createTime;


}
